﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
   public class LegalComponent
    {
        private static LegalDAC db = new LegalDAC();

        public static List<Legal> Legal_GetByTop(string Top, string Where, string Ord)
        {
            return db.Legal_GetByTop(Top, Where, Ord);
        }

        public static void Legal_Insert(Legal legal)
        {
            db.Legal_Insert(legal);
        }

        public static void Legal_Update(Legal legal)
        {
            db.Legal_Update(legal);
        }
    }
}
